<?php
require_once 'service/ServiceAbstract.php';

class CommissionService extends ServiceAbstract {
	
	private $_mapper;
	
	public function __construct(){
		$this->_mapper = new Db_Mapper_Commission();
	}
	
		
	/**
	 * Vráti vsetky komisie	 
	 *
	 * @return array 
	 */
	public function fetchAll(){
		return $this->_mapper->getTable()->fetchAll()->toArray();
	}
}

?>